<!DOCTYPE html>
<div style="position: fixed; width: 10px; height: 10px; background-color: blue"></div>
<table id="table"></table>
<script src="../resources/runner.js"></script>
<script src="resources/paint.js"></script>
<script>
function createRow(i) {
  var tr = document.createElement('tr');
  tr.innerHTML = '<td>' + i + '</td>' +
     '<td style="position: relative"><b><i><u>Test</u></i></b><b><i><u>Test</u></i></b><b><i><u>Test</u></i></b><b><i><u>Test</u></i></b></td>';
  table.appendChild(tr);
}

for (var i = 0; i < 20000; ++i)
  createRow(i);

var count = 0;
measurePaint({
  run: function() {
    window.scrollTo(0, 20 * count++);
  },
});
</script>
